package cn.yunhe.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class QuXian implements Serializable {
    private Integer qxid;
    private String qxname;
    private Set<JieDao> jds = new HashSet<>();
    public QuXian() {
    }

    public QuXian(Integer qxid, String qxname) {
        this.qxid = qxid;
        this.qxname = qxname;
    }

    public QuXian(String qxname) {
        this.qxname = qxname;
    }

    public Integer getQxid() {
        return qxid;
    }

    public void setQxid(Integer qxid) {
        this.qxid = qxid;
    }

    public String getQxname() {
        return qxname;
    }

    public void setQxname(String qxname) {
        this.qxname = qxname;
    }

    public Set<JieDao> getJds() {
        return jds;
    }

    public void setJds(Set<JieDao> jds) {
        this.jds = jds;
    }

    @Override
    public String toString() {
        return "QuXian{" +
                "qxid=" + qxid +
                ", qxname='" + qxname + '\'' +
                ", jds=" + jds +
                '}';
    }
}
